﻿using NHibernate.CriteriaBuilder;
using Acaweb.Model.Entities;

namespace Acaweb.Componentes.Criterials
{
    class PensumCriterials : CriteriaRecorder<PensumCriterials, Pensum>
    {
        private ICriterionProperty<int> _PensumByPlanEstudio;
        private ICriterionProperty<int> _PensumByMateria;

        public virtual ICriterionProperty<int> PensumByPlanEstudio
        {
            get
            {
                if (this._PensumByPlanEstudio == null)
                {
                    this._PensumByPlanEstudio = new CriterionProperty<int>("CodigoPlan", this);
                }

                return _PensumByPlanEstudio;
            }
        }

        public virtual ICriterionProperty<int> PensumByMateria
        {
            get
            {
                if (this._PensumByMateria == null)
                {
                    this._PensumByMateria = new CriterionProperty<int>("CodigoMateria", this);
                }

                return _PensumByMateria;
            }
        }

        public PensumCriterials() { }

        public PensumCriterials(ICriteriaRecorder parent)
            : base(parent)
        {
        }
    }
}
